<div id="top-panel">
    <div id="panel">
        <ul>
            <li><a href="<?php echo site_url("module"); ?>" class="report_seo">List</a></li>			
        </ul>
    </div>
</div>
<div id="wrapper">
	<div id="content">
		<div id="rightnow">
			<h3 class="reallynow">New Item</h3>
			<div>
				<?php echo validation_errors(); ?>
			</div>
			<?php echo form_open('module/save') ?>
			<input type="hidden" name="id" value="<?php echo isset($module['id']) ? $module['id'] : ''; ?>" />
			<table width="100%">
				<tr>
					<td>Module name</td>
					<td><input type="text" name="name" id="name" value="<?php echo isset($module['name']) ? $module['name'] : '';  ?>" /></td>
				</tr>
				<tr>
					<td>Route</td>
					<td><input type="text" name="route" id="route" value="<?php echo isset($module['route']) ? $module['route'] : '';  ?>" /></td>
				</tr>
				<tr>
					<td>Module description</td>
					<td><textarea name="description"><?php echo isset($module['description']) ? $module['description'] : '';  ?></textarea></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td><input type="submit" value="Save" >
						<input type="button" value="Cancel" class="btcancel" /></td>
					</td>
				<tr>
			</table>
		</div>
	</div>
</div>